package com.maschinenstuermer.example.ejb3.facade;

import java.util.List;

import com.maschinenstuermer.example.ejb3.entity.Company;

public interface ExampleFacade {
	/**
	 * Makes the specified company persistent.
	 * @param company
	 * @return company with id
	 */
	Company makePersistent(Company company);

	/**
	 * Removes the specified company.
	 * @param company
	 */
	void remove(Company company);

	/**
	 * Finds companies by name.
	 * @param name
	 * @return
	 */
	List<Company> findCompaniesByName(String name); 
}
